package com.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * OA流程流转
 * </p>
 * @author 34448
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("approval_processes")
public class ApprovalProcessDO {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "流程ID")
    private Integer processId;

    @ApiModelProperty(value = "流程名称")
    private String processName;

    @ApiModelProperty(value = "流程状态")
    private String status;

    @ApiModelProperty(value = "提交人ID")
    private Integer submitterId;

    @ApiModelProperty(value = "审批人ID")
    private Integer approverId;

    @ApiModelProperty(value = "提交日期")
    private Date submissionDate;

    @ApiModelProperty(value = "审批日期")
    private Date approvalDate;

    @ApiModelProperty(value = "审批意见")
    private String comments;

    @ApiModelProperty(value = "创建人")
    private Integer createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private Integer updateBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}